/*
 * @Author: whq
 * @Date: 2022-12-28 11:13:53
 * @LastEditTime: 2022-12-28 13:15:03
 * @LastEditors: whq
 * @Description: 
 * @FilePath: \vueTemp\src\main.ts
 */
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' //pinia 数据持久化
import router from './router/index'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate);


app.use(pinia)
app.use(router)
app.use(ElementPlus)

app.mount('#app')
